#include<stdio.h>

void SystemInit(void){}

int main(void)
{
    //灯具时钟开关地址
	unsigned int* led_rcc =(unsigned int*)(0x40021000+0x18);
    //灯具gpio配置
    unsigned int* led_gpio=(unsigned int*)(0x40010800+0x00);
    //灯具状态开关
    unsigned int* led_stauts=(unsigned int*)(0x40010800+0x0C);
    //*led_rcc |=(*led_rcc<<3)
    //开启端口时钟
    *led_rcc |=0x4;
    //配置端口引脚模式
    *led_gpio |=0x3330;
    //端口gpio输出1.灯灭
    *led_stauts |= 0xE;
    //*led_stauts &= (~(unsigned)0xE);
    *led_stauts &= ~0xE;
    
    while(1);
}
